package com.boda.xy;
public class A {
    private int a = 10;
    int b = 20;
    protected int c = 30;
    public int d = 40;

    private void methodA() {
        System.out.println("方法A.");
    }
    void methodB(){
        System.out.println("方法B.");
    }
    protected void methodC(){
    System.out.println("方法C.");
    }
    public void methodD(){
    System.out.println("方法D.");
    }
}
